//
//  BKClassifyAction.m
//  bestkeep
//
//  Created by 武探 on 2016/11/3.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import "BKClassifyAction.h"
#import "BKClassifyViewController.h"
#import "BKClassifyGoodsListViewController.h"

@implementation BKClassifyAction

-(UIViewController *)classifyViewController {
    BKClassifyViewController *classifyController = [[BKClassifyViewController alloc] init];
    return classifyController;
}

@end

@implementation BKClassifyActionHome

-(UIViewController *)HomeEntryClassifyViewController:(NSDictionary<NSString *,id> *)parameters{
    BKClassifyGoodsListViewController *home = [[BKClassifyGoodsListViewController alloc]init];
    home.filterTerms = parameters[@"filterTerms"];
    home.categoryId = parameters[@"categotyId"];
    home.channelType = parameters[@"channelType"];
    home.orderKey = parameters[@"orderKey"];
    home.keyWord = parameters[@"keyWord"];
    home.order = parameters[@"order"];
    home.currentPage = parameters[@"currentPage"];
    home.classifyType = parameters[@"classifyType"];
    return home;
}

@end
